@model ShivamEMR.Model.Domain.PatientDomain.PatientTest

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>PatientTest</legend>

    <div class="display-label">Result</div>
    <div class="display-field">@Model.Result</div>

    <div class="display-label">DateAndTime</div>
    <div class="display-field">@String.Format("{0:g}", Model.DateAndTime)</div>

    <div class="display-label">Notes</div>
    <div class="display-field">@Model.Notes</div>

    <div class="display-label">Test</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.Test).ToString()</div>

    <div class="display-label">Picture</div>
    <div class="display-field">@(Model.Picture == null ? "None" : Model.Picture.Title)</div>

    <div class="display-label">Patient</div>
    <div class="display-field">@(Model.Patient == null ? "None" : Model.Patient.Title)</div>

    <div class="display-label">Venue</div>
    <div class="display-field">@(Model.Venue == null ? "None" : Model.Venue.Title)</div>

    <div class="display-label">Technician</div>
    <div class="display-field">@(Model.Technician == null ? "None" : Model.Technician.Title)</div>

    <div class="display-label">ResultPictures</div>
    <div class="display-field">@(Model.ResultPictures == null ? "None" : Model.ResultPictures.Count.ToString())</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Back to List", "Index")
</p>


